<template>
<div class='messageboard'>
  <el-row :gutter="20">
    <el-col :span="2">
      <div class="boardleft">
        <fansavatar></fansavatar>
      </div>
    </el-col>
    <el-col :span="22">
      <div class="boardright">
        <p class="name">昵称</p>
        <p class='desc'>早睡一般是指晚上10点左右...</p>
        <div class="topic clearfix">
          <div class="topicleft">
            <img class='imgtopic' src="../../assets/logo.png" alt="">
          </div>
          <div class="topicright">
            <p class="title">早起十分之，给宝宝美好的一天</p>
            <p class="desc">早起十分之，给宝宝美好的一天</p>
          </div>
        </div>
      </div>
    </el-col>
  </el-row>
</div>
</template>

<script>
import fansavatar from 'components/fansavatar/fansavatar';
export default {
  name: 'messageboard',
  components: {
    fansavatar
  }
};
</script>

<style lang="less" scoped>
.messageboard {
  .boardleft {
    text-align: center;
  }
  .boardright {
    .name,.desc {
      line-height: 20px;
      margin: 5px 0;
    }
    .topic {
      background: rgb(242, 242, 242);
      .topicleft {
        width: 100px;
        height: 100px;
        float: left;
        .imgtopic {
          width: 100%;
          height: 100%;
        }
      }
      .topicright {
        float: left;
        margin-left: 20px;
      }
    }
  }
}
</style>
